/**
 Copyright (C) 2008 ZHENG Zhong <http://www.zhengzhong.net/>
 
 Created on 2008-10-23.
 $Id$
 */

/*--------------------------------------------------------------------------------------------------
 * Resto home page layout
 *------------------------------------------------------------------------------------------------*/

#resto:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

#resto #on_top {
  margin: 0 0 8px 0;
  padding: 0 0 4px 0;
  clear: both;
}

#resto #on_left {
  margin: 0;
  padding: 0 4px 0 0;
  float: left;
  display: inline;
  width: 500px;
}

#resto #on_right {
  margin: 0;
  padding: 8px;
  float: right;
  display: inline;
  width: 200px;
  font-family: 'Trebuchet MS',arial,sans-serif;
  background-color: #EEEEEE;
  border: 1px solid #BBBBBB;
}

#resto #on_bottom {
  margin: 8px 0 0 0;
  padding: 4px;
  clear: both;
  border-top: 4px solid #2090D0;
}

/*--------------------------------------------------------------------------------------------------
 * Headers
 *------------------------------------------------------------------------------------------------*/

#resto .h1, #resto .h2, #resto .h3 {
  margin: 0;
  padding: 2px 4px 2px 0;
  font-family: 'Trebuchet MS',arial,sans-serif;
}

#resto .h1 {
  font-weight: bold;
  font-size: 125%;
}

#resto .h2 {
  font-size: 110%;
}

#resto .h3 {
  font-weight: bold;
}

/*--------------------------------------------------------------------------------------------------
 * AJAX boxes
 *------------------------------------------------------------------------------------------------*/

#resto .ajax_box {
  margin: 0 0 4px 0;
  padding: 0;
}

#resto .ajax_box .main, #resto .ajax_box .view, #resto .ajax_box .edit {
  margin: 0 0 4px 0;
  padding: 0;
}

#resto .ajax_box .toggle_link {
  margin: 0;
  padding: 2px 0 2px 0;
  font-family: 'Trebuchet MS',arial,sans-serif;
}

#resto .ajax_box .ajax_error {
  margin: 8px 0 8px 0;
  padding: 4px;
  font-family: 'Trebuchet MS',arial,sans-serif;
  background-color: #FAFDCE;
  border: 1px solid #FACC00;
}

#resto .ajax_box .ajax_indicator {
  font-family: 'Trebuchet MS',arial,sans-serif;
  color: #888888;
}

/*--------------------------------------------------------------------------------------------------
 * Customisation of some AJAX boxes
 *------------------------------------------------------------------------------------------------*/

#resto #names {
  border-bottom: 1px solid #BBBBBB;
}

#resto #ratings .main {
  margin: 8px 0 8px 0;
  padding: 4px 8px 4px 8px;
  border: 1px solid #DDDDDD;
}

#resto #ratings .details_head {
  margin: 0;
  padding: 4px 0 4px 0;
  font: normal bold 110% 'Trebuchet MS',arial,sans-serif;
  white-space: nowrap;
}

#resto #ratings .toggle_button {
  padding: 10px 20px 10px 20px;
  font: normal normal 120% 'Trebuchet MS',arial,sans-serif;
  text-align: center;
  width: 200px;
  border: 1px solid #BBBBBB;
  background-color: #EEEEEE;
  white-space: nowrap;
}

#resto #description p {
  margin: 0;
  padding: 0 0 6px 0;
}

#resto #comments .comment_head {
  margin: 4px 0 0 0;
  padding: 4px;
  font-family: 'Trebuchet MS',arial,sans-serif;
  background-color: #EEEEEE;
  border: 1px solid #DDDDDD;
}

#resto #comments .comment_body {
  margin: 0;
  padding: 4px;
}

#resto #comments .comment_body p {
  margin: 0;
  padding: 0 0 4px 0;
}

#resto #comments .comment_foot {
  margin: 0;
  padding: 4px 10px 4px 4px;
  font-style: italic;
  font-family: 'Trebuchet MS',arial,sans-serif;
  color: #888888;
  text-align: right;
}

#resto #comments #comments_pager {
  margin: 4px 0 4px 0;
  padding: 4px;
  font-family: 'Trebuchet MS',arial,sans-serif;
  color: #888888;
  text-align: center;
  border: 1px solid #DDDDDD;
}

/*--------------------------------------------------------------------------------------------------
 * The right column
 *------------------------------------------------------------------------------------------------*/

#resto #on_right dl,
#resto #on_right ul {
  margin: 0;
  padding: 0 0 4px 0;
}

#resto #on_right dl dt {
  margin: 0;
  padding: 2px 0 0 0;
}

#resto #on_right dl dd {
  margin: 0;
  padding: 2px 0 0 10px;
}

#resto #on_right ul li {
  margin: 0;
  padding: 2px 0 0 10px;
  list-style: none;
  text-indent: 0;
}

#resto #on_right .form input,
#resto #on_right .form select {
  width: 180px;
}

#resto #on_right .form textarea {
  width: 180px;
  height: 100px;
}

#resto #on_right .form input.button {
  width: auto;
}

/*--------------------------------------------------------------------------------------------------
 *
 *------------------------------------------------------------------------------------------------*/

#resto #on_top #photo {
  margin: 0;
  padding: 0;
}

#resto table tbody th,
#resto table tbody td {
  margin: 0;
  padding: 0 4px 0 4px;
  font-family: 'Trebuchet MS',arial,sans-serif;
}

/*--------------------------------------------------------------------------------------------------
 * Footer
 *------------------------------------------------------------------------------------------------*/

#resto #footer {
  margin: 10px 0 0 0;
  padding: 10px 0 10px 0;
  font-family: 'Trebuchet MS',arial,sans-serif;
  color: #888888;
  border-top: 1px solid #DDDDDD;
}





